package cc.linker.steplink.crm.dao;

import java.util.List;
import java.util.Map;

public interface ClassificationDao {
    void insertClassification(Map<String, Object> param);

    void updateClassification(Map<String, Object> param);

    void deleteClassification(Map<String, Object> param);

    List<Map<String, Object>> listClassification(Map<String, Object> param);

    Integer countClassificationName(Map<String, Object> param);

    List<Map<String, Object>> listGoodsByGroupId(Map<String, Object> param);

    List<Map<String, Object>> listPidByClassificationId(Map<String, Object> param);

    List<Map<String, Object>> listIdByClassificationIdAndPid(Map<String, Object> param);

    Integer countGoodsNumByGroupIdWhereClassificationIdIsNull(Map<String, Object> param);

    void deleteGoodsClassification(Map<String, Object> param);

    Integer countGroupIsOrg(Map<String, Object> param);

    List<Map<String, Object>> listGoodsByGroupIdAndCustomerId(Map<String, Object> param);

    List<Map<String, Object>> listPidByClassificationIdAndCustomerId(Map<String, Object> param);

    Integer countGoodsNumByGroupIdAndCustomerIdWhereClassificationIdIsNull(Map<String, Object> param);

    List<Map<String, Object>> listIdByClassificationIdAndPidAndCustomerId(Map<String, Object> param);

    Integer countGroupByGroupId(String groupId);

    String getClassificationNameById(Integer id);

    Map<String, Object> getModuleInfo(Map<String, Object> param);

    List<Map<String, Object>> getListGoodsCustom(Map<String, Object> param);
}
